home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Extra 1997 #1 / Amiga Plus Extra 1997 #1.iso / programme / grafik / probench3-8 / probench3-install-english < prev    next >
Text File  |  1984-08-11  |  16KB  |  502 lines

  1. ; Installationsscript für Merlin-Demo/Upgrade (© ProDev 1996)
  2. ; $VER: DemoUpPB3 1.0 (09.09.96)
  3.  
  4. (set #hrgcardsyslib (cat "Copy hrgcardsys.library to libs: ... "))
  5. (set #hrgsystemlib (cat "Copy hrgsystem.library to libs: ... " ))
  6. (set #hrgrenderlib (cat "Copy hrgrender.library to libs: ... " ))
  7. (set #hrgblitterunilib (cat "Copy hrgblitter-uni.library to libs: ... " ))
  8. (set #hrgblitterspzlib (cat "Copy hrgblitter-spz.library to libs: ... " ))
  9. (set #hrgemulib (cat "Copy hrgemu.library to libs: ... " ))
  10. (set #hrtoollib (cat "Copy hrtool.library to libs: ... " ))
  11. (set #cyberlib (cat "Copy cyberprobench.library to libs: ... " ))
  12. (set #nohelp (cat "No help available. " ))
  13. (set #bad-kick (cat "You need Kickstart 3.1 for ProBench V3.0." ))
  14. (set #bad-cpu (cat "You need a 68020 CPU." ))
  15.  
  16. (set  @default-dest "SYS:")
  17.  
  18. (set osversion (getversion "exec.library" (resident)))
  19. (set osversion (/ osversion 65536))
  20.  
  21. (set DefaultEmuDir "Devs:Monitors")
  22.  
  23. (run "protect libs:hrg#?.library RWED")
  24. (run "protect libs:hrtool.library RWED")
  25.  
  26. (message "\n\nHello! I try to give good explanations with my (old and bad) shool english. I've been told that english people prefer this instead of none or german texts (H.Raaf)")
  27.  
  28. (if (askbool
  29.     (prompt "\n\nWelcome to ProBench V3.0 Demo/Update!\n\nThis Installer-Skript is able to:\n\n1. Install and Deinstall the Demo-Version of ProBench Version 3.0\n\n2. Update your ProBench V3.0 full-version to Rev8")
  30.     (choices "Demo (De)Install" "Update full-version")
  31.     (help "Please have a look into ProBench3.guide!")
  32.     (default 1))
  33.     ; 1
  34.     (
  35.         (message "\n\nMake sure that there is no older Emulation active! If there is any emulation running you have to abort the installation now!")
  36.         (message "\n\nNOTICE: We can not guarantee that this installation/deinstallation-script works on all possible configurations! Please consider to additional backup your old emulator first!")
  37.             (if (exists "devs:monitors/probench-demo")
  38.             ( ; ProBench Demo deinstall
  39.                 (message "\n\nFound an installed Demoversion of ProBench V3.0! Deinstalling now!")
  40.                 (if (exists "sys:ProBench-Backup/probench")
  41.                     (
  42.                         (message "\nRestoring the backuped files. Notice that the new tools and the monitorfile of the Demo-Version will be deleted!")
  43.                         (copyfiles
  44.                             (prompt "\nRestoration of the old libraries!")
  45.                             (help @copyfiles-help)
  46.                             (source "SYS:ProBench-Backup/")
  47.                             (dest "libs:")
  48.                             (pattern "(hrgcardsys.library|hrgsystem.library|hrgrender.library|hrgblitter.library)")
  49.                             (optional nofail askuser)
  50.                             (files)
  51.                             (confirm)
  52.                             (infos))
  53.                             
  54.                         (copyfiles
  55.                             (prompt "\nRestoration of the old monitorfile!")
  56.                             (help @copyfiles-help)
  57.                             (source "SYS:ProBench-Backup/probench")
  58.                             (dest "devs:monitors/")
  59.                             (optional nofail askuser)
  60.                             (confirm)
  61.                             (infos))
  62.  
  63.                         (copyfiles
  64.                             (prompt "\nRestoration of the old modeinfos!")
  65.                             (help @copyfiles-help)
  66.                             (source "SYS:ProBench-Backup/hrg_modeinfos")
  67.                             (dest "s:")
  68.                             (optional nofail askuser)
  69.                             (confirm)
  70.                             (infos))
  71.                     )
  72.                     (delete "devs:monitors/probench-demo" (prompt "The monitorfile of the demo is now obsolete!") (infos)(help #nohelp) (confirm))
  73.                     (delete "sys:WBStartup/HRControl3" (infos))
  74.                     (delete "sys:WBStartup/SProDBase3" (infos))
  75.                     (message "\nThe old configuration should be restored by now!")
  76.                 )
  77.                 (
  78.                     (delete "devs:monitors/probench-demo" (prompt "The monitorfile of the demo is now obsolete!") (infos)(help #nohelp) (confirm))
  79.                     (delete "sys:WBStartup/HRControl3" (infos))
  80.                     (delete "sys:WBStartup/SProDBase3" (infos))
  81.                     (message "\nThe demo-monitorfile and the ProBench 3 Tools in WBStartup are now deleted!")
  82.                 )
  83.  
  84.             )
  85.             ( ; ProBench Demo install
  86.             (if (exists "devs:monitors/probench")
  87.                 ( ; Anderes ProBench gefunden!
  88.                     (if (askbool
  89.                         (prompt "\nFound an installation of ProBench. Do you want to create a backup for later deinstallation of ProBench3-Demo?\n\nAll files needed for deinstallation will be copied to SYS:ProBench-Backup!")
  90.                         (choices "Yes" "No")
  91.                         (help #nohelp)
  92.                         (default 1))
  93.                         ( ; Sicherung
  94.                             
  95.                             (copyfiles
  96.                                 (prompt "\nCreating a backup of the old monitorfile!")
  97.                                 (help @copyfiles-help)
  98.                                 (source "devs:monitors/probench")
  99.                                 (dest "SYS:ProBench-Backup")
  100.                                 (optional nofail askuser)
  101.                                 (confirm)
  102.                                 (infos))
  103.  
  104.                             (delete "devs:monitors/probench" (prompt "\n\nThe old monitorfile will be deleted now and replaced by the monitorfile of the demo-version") (infos)(help #nohelp) (confirm))
  105.  
  106.                             (copyfiles
  107.                                 (prompt "\nCreating a backup of all incompatible libraries!")
  108.                                 (help @copyfiles-help)
  109.                                 (source "libs:")
  110.                                 (dest "SYS:ProBench-Backup")
  111.                                 (pattern "(hrgcardsys.library|hrgsystem.library|hrgrender.library|hrgblitter.library)")
  112.                                 (optional nofail askuser)
  113.                                 (files)
  114.                                 (confirm)
  115.                                 (infos))
  116.     
  117.                             (copyfiles
  118.                                 (prompt "\nCreating backup of your old modeinfos!")
  119.                                 (help @copyfiles-help)
  120.                                 (source "s:hrg_modeinfos")
  121.                                 (dest "SYS:ProBench-Backup")
  122.                                 (optional nofail askuser)
  123.                                 (confirm)
  124.                                 (infos))
  125.     
  126.                             (message "\n\nPreparation for later deinstallation is finished!\n\nPlease remove your old tools from WBStartup and user-startup by yourself!")
  127.                         )
  128.                         ; oder nicht
  129.                         (message "\nIf you want to create a backup by yourself abort the installer now!\n\nIf you continue installation your current version will be overwritten and an automatic deinstallation is impossible for this script")
  130.                     )
  131.                 )
  132.                 (
  133.                     (message "\nNo old ProBench installation found. If you are using the original X-Pert Emulation you have to remove it now!")
  134.                     (message "\nIf you want to create a backup by yourself abort the installer now!\n\nIf you continue installation a later deinstallation will be only able to remove the demo monitorfile")
  135.                 )
  136.             )
  137.             (run "cinst/killlib hrtool#?")
  138.  
  139.             (if (exists "s:HRG_ModeInfos")
  140.                 (
  141.                 (message "\n\n\nConverting old HRG_Modeinfos to new format.\n\nAll current screenmodes will be available in the converted file")
  142.     
  143.                 (run "cinst/makeids")
  144.  
  145.                 (copyfiles
  146.                     (prompt "\nWriting a DEFAULT 'HRG_Modeinfos' File!")
  147.                     (help "")
  148.                     (source "s/HRG_Modeinfos-DEFAULT")
  149.                     (dest "s:")
  150.                     (newname "HRG_Modeinfos-DEFAULT"))
  151.                 )
  152.                 (
  153.                 (message "\n\n\nThere are no 'HRG_ModeInfos' on your system! Writing DEFAULT File!")
  154.  
  155.                 (copyfiles
  156.                     (prompt "\nWriting 'HRG_Modeinfos' File!")
  157.                     (help "")
  158.                     (source "s/HRG_Modeinfos-DEFAULT")
  159.                     (dest "s:")
  160.                     (newname "HRG_Modeinfos"))
  161.             ))
  162.             ; Nun die Bösewichter finden und vernichten
  163.             (run "cinst/changelines s:startup-sequence #?prospeed#? correct")
  164.       
  165.             (message "\nNext step: Installation of the demo-version libraries!")
  166.  
  167.          (copylib
  168.              (prompt #hrgcardsyslib)
  169.              (source "libs/hrgcardsys.library")
  170.              (dest "libs:")
  171.              (help #nohelp))
  172.          
  173.          (copylib
  174.              (prompt #hrgsystemlib)
  175.              (source "libs/hrgsystem.library")
  176.              (dest "libs:")
  177.              (help #nohelp))
  178.          
  179.          (copylib
  180.              (prompt #hrgrenderlib)
  181.              (source "libs/hrgrender.library")
  182.             (dest "libs:")
  183.             (help #nohelp))
  184.          
  185.         (copylib
  186.              (prompt #hrgemulib)
  187.              (source "libs/hrgemu.library")
  188.              (dest "libs:")
  189.              (help #nohelp))
  190.          
  191.          (copylib
  192.              (prompt #hrtoollib)
  193.              (source "libs/hrtool.library")
  194.              (dest "libs:")
  195.              (help #nohelp))
  196.          
  197.          (copylib
  198.              (prompt #cyberlib)
  199.              (source "libs/cyberprobench.library")
  200.              (dest "libs:")
  201.              (confirm)
  202.              (help #nohelp))
  203.          
  204.          (copylib
  205.              (prompt #hrgblitterunilib)
  206.              (source "libs/hrgblitter-uni.library")
  207.              (dest "Libs:")
  208.              (help #nohelp))
  209.          
  210.          (copylib
  211.              (prompt #hrgblitterspzlib)
  212.              (source "libs/hrgblitter-spz.library")
  213.              (dest "Libs:")
  214.              (help #nohelp))
  215.          
  216.          (if (askbool
  217.              (prompt "\n'hrgblitter.library' exists in two versions. Which one should be installed ?")
  218.              (choices "Universal" "A4/40-A3/Z3")
  219.              (help "Universal works on all Amiga-Models but the special version is faster on A4000/040 or A3000-ZorroIII !")
  220.              (default 1))
  221.              (copyfiles
  222.                    (prompt "Universal-Version ACTIVE")
  223.                    (help "")
  224.                    (source "libs:hrgblitter-UNI.library")
  225.                    (optional nofail askuser)
  226.                    (newname "hrgblitter.library")
  227.                    (dest "Libs:"))
  228.                  (copyfiles
  229.                          (prompt "Special-Version ACTIVE")
  230.                          (help "")
  231.                          (source "libs:hrgblitter-SPZ.library")
  232.                          (optional nofail askuser)
  233.                          (newname "hrgblitter.library")
  234.                          (dest "Libs:"))
  235.             )
  236.       
  237.               (copyfiles
  238.                          (prompt "\nInstallation of ModeMaster (3.4 ist für MUI 3.6!)")
  239.                   (help @copyfiles-help)
  240.                   (source "Prefs")
  241.                   (dest "SYS:Prefs")
  242.                   (pattern "ModeMaster3.#?")
  243.                   (optional nofail askuser)
  244.                   (files)
  245.                   (infos)
  246.                   (confirm)
  247.               )
  248.  
  249.               (set UDDir
  250.                   (askdir
  251.                   (prompt "\nWhere should I place the Merlin Tools?")
  252.                   (help @askdir-help)
  253.                   (default "SYS:Tools/Merlin3")
  254.                   (newpath)
  255.                   )
  256.               )
  257.       
  258.               (copyfiles
  259.                   (prompt "\nSelect Merlin Tools to install")
  260.                   (help @copyfiles-help)
  261.                   (source "Tools")
  262.                   (dest UDDir)
  263.                   (infos)
  264.                   (all)
  265.                   (confirm)
  266.               )
  267.       
  268.               (if (askbool
  269.                   (prompt "\nShould HRControl be started after every reboot ?")
  270.                   (choices "Yes" "No")
  271.                   (help "If you select yes it will be placed in WBStartup drawer!")
  272.                   (default 1))
  273.       
  274.                   (copyfiles
  275.                       (prompt "\nPlacing HRControl in WBStartup drawer")
  276.                       (help @copyfiles-help)
  277.                       (source "tools/HRControl3")
  278.                       (dest "SYS:WBStartup/")
  279.                       (infos)
  280.                       (confirm)
  281.                   )
  282.               )
  283.       
  284.               (if (askbool
  285.                   (prompt "\nShould SProDBase be started after every reboot ?")
  286.                   (choices "Yes" "No")
  287.                   (help "If you select yes it will be placed in WBStartup drawer!")
  288.                   (default 1))
  289.       
  290.                   (copyfiles
  291.                       (prompt "\nPlacing SProDBase in WBStartup drawer")
  292.                       (help @copyfiles-help)
  293.                       (source "tools/SProDBase3")
  294.                       (dest "SYS:WBStartup/")
  295.                       (infos)
  296.                       (confirm)
  297.                   )
  298.               )
  299.                 
  300.                 ; Hier das, worauf alle Leute gewartet haben
  301.                 (copyfiles
  302.                     (prompt "\nInstallation of the demo monitorfile! You should place it in DEVS:MONITORS !\nThe filename must not be changed!!")
  303.                     (help @copyfiles-help)
  304.                     (source "devs/Monitors/")
  305.                     (dest DefaultEmuDir)
  306.                     (pattern "#?")
  307.                     (files)
  308.                     (infos)
  309.                     (optional nofail askuser)
  310.                     (confirm))
  311.  
  312.             (if (askbool
  313.                 (prompt "\nWould you like to install the online-documentation ?")
  314.                 (choices "Yes" "No")
  315.                 (help #nohelp)
  316.                 (default 1))
  317.     
  318.                 (copyfiles
  319.                     (prompt "\nPlacing ProBench3.guide in help:")
  320.                     (help @copyfiles-help)
  321.                     (source "ProBench3.guide")
  322.                     (dest "help:")
  323.                     (infos)
  324.                     (confirm)
  325.                 )
  326.             )
  327.                 (message "\nATTENTION: Notice that only 800x600 Screenmodes are available in the Demo-Versopm!\n\nFor safety you should reboot your computer in an amiga native mode first after installation!")
  328.                 (message "\nProDev - Firma H.Raaf\n\n"
  329.             "The Demo-Version installation has be finished. Please reboot your machine! If you encounter problems feel free to contact us by email!\n\n"
  330.             "EMail: m.jantz@public.ndh.com")
  331.             ) ; Ende: Check auf alte Version
  332.         ) ; Ende: Demo-Installation
  333.     ) ; Ende: Demo-(De)Installation
  334.  
  335.     ; 2
  336.     (
  337.         (message "\nUpdating your ProBench V3.0 (full version) now!")
  338.    
  339.        (copylib
  340.            (prompt #hrgcardsyslib)
  341.            (source "libs/hrgcardsys.library")
  342.            (dest "libs:")
  343.            (confirm)
  344.            (help #nohelp))
  345.    
  346.        (copylib
  347.            (prompt #hrgsystemlib)
  348.            (source "libs/hrgsystem.library")
  349.            (dest "libs:")
  350.            (confirm)
  351.            (help #nohelp))
  352.    
  353.        (copylib
  354.            (prompt #hrgrenderlib)
  355.            (source "libs/hrgrender.library")
  356.            (dest "libs:")
  357.            (confirm)
  358.            (help #nohelp))
  359.    
  360.        (copylib
  361.            (prompt #hrgemulib)
  362.            (source "libs/hrgemu.library")
  363.            (dest "libs:")
  364.            (confirm)
  365.            (help #nohelp))
  366.    
  367.        (copylib
  368.            (prompt #hrtoollib)
  369.            (source "libs/hrtool.library")
  370.            (dest "libs:")
  371.            (confirm)
  372.            (help #nohelp))
  373.    
  374.        (copylib
  375.            (prompt #cyberlib)
  376.            (source "libs/cyberprobench.library")
  377.            (dest "libs:")
  378.            (confirm)
  379.            (help #nohelp))
  380.    
  381.        (copylib
  382.            (prompt #hrgblitterunilib)
  383.            (source "libs/hrgblitter-uni.library")
  384.            (dest "Libs:")
  385.            (confirm)
  386.            (help #nohelp))
  387.    
  388.        (copylib
  389.            (prompt #hrgblitterspzlib)
  390.            (source "libs/hrgblitter-spz.library")
  391.            (dest "Libs:")
  392.            (confirm)
  393.            (help #nohelp))
  394.    
  395.          (if (askbool
  396.              (prompt "\n'hrgblitter.library' exists in two versions. Which one should be installed ?")
  397.              (choices "Universal" "A4/40-A3/Z3")
  398.              (help "Universal works on all Amiga-Models but the special version is faster on A4000/040 or A3000-ZorroIII !")
  399.              (default 1))
  400.              (copyfiles
  401.                    (prompt "Universal-Version ACTIVE")
  402.                    (help "")
  403.                    (source "libs:hrgblitter-UNI.library")
  404.                    (optional nofail askuser)
  405.                    (newname "hrgblitter.library")
  406.                    (dest "Libs:"))
  407.                  (copyfiles
  408.                          (prompt "Special-Version ACTIVE")
  409.                          (help "")
  410.                          (source "libs:hrgblitter-SPZ.library")
  411.                          (optional nofail askuser)
  412.                          (newname "hrgblitter.library")
  413.                          (dest "Libs:"))
  414.             )
  415.  
  416.         (copyfiles
  417.              (prompt "\nInstallation of the ModeMaster (3.4 should be used together with MUI 3.6!)")
  418.             (help @copyfiles-help)
  419.             (source "Prefs")
  420.             (dest "SYS:Prefs")
  421.             (pattern "ModeMaster3.?")
  422.             (optional nofail askuser)
  423.             (files)
  424.             (infos)
  425.             (confirm)
  426.         )
  427.  
  428.         (set UDDir
  429.             (askdir
  430.             (prompt "\nPlease choose a drawer for the Merlin tools?")
  431.             (help @askdir-help)
  432.             (default "SYS:Tools/Merlin")
  433.             (newpath)
  434.             )
  435.         )
  436.  
  437.         (copyfiles
  438.             (prompt "\nInstallation of the Merlin tools")
  439.             (help @copyfiles-help)
  440.             (source "Tools")
  441.             (dest UDDir)
  442.             (infos)
  443.             (all)
  444.             (confirm)
  445.         )
  446.  
  447.         (if (askbool
  448.             (prompt "\nShould HRControl be started after every reboot ?")
  449.             (choices "Yes" "No")
  450.             (help "If you select yes it will be placed in wbstartup drawer")
  451.             (default 1))
  452.  
  453.             (copyfiles
  454.                 (prompt "\nPlacing HRControl in WBStartup drawer")
  455.                 (help @copyfiles-help)
  456.                 (source "tools/HRControl3")
  457.                 (dest "SYS:WBStartup/")
  458.                 (infos)
  459.                 (confirm)
  460.             )
  461.         )
  462.  
  463.         (if (askbool
  464.             (prompt "\nShould SProDBase be started after every reboot ?")
  465.             (choices "Yes" "No")
  466.             (help "If you select yes it will be placed in wbstartup drawer")
  467.             (default 1))
  468.  
  469.             (copyfiles
  470.                 (prompt "\nPlacing SProDBase in WBStartup drawer")
  471.                 (help @copyfiles-help)
  472.                 (source "tools/SProDBase3")
  473.                 (dest "SYS:WBStartup/")
  474.                 (infos)
  475.                 (confirm)
  476.             )
  477.         )
  478.  
  479.             (if (askbool
  480.                 (prompt "\nWould you like to install the online-documentation ?")
  481.                 (choices "Yes" "No")
  482.                 (help #nohelp)
  483.                 (default 1))
  484.     
  485.                 (copyfiles
  486.                     (prompt "\nPlacing ProBench3.guide in help:")
  487.                     (help @copyfiles-help)
  488.                     (source "ProBench3.guide")
  489.                     (dest "help:")
  490.                     (infos)
  491.                     (confirm)
  492.                 )
  493.             )
  494.  
  495.             (message "\nProDev - Firma H.Raaf\n\n"
  496.             "The update procedure has be finished. Please reboot your machine! If you encounter problems feel free to contact us by email!\n\n"
  497.             "EMail: m.jantz@public.ndh.com")
  498.     )
  499. )
  500.  
  501. (exit)
  502.